package com.fastadmin.common;

public interface FAConst {
    class LoginConst {
        public static final String COOKIE_NAME = "FASTADMIN_TOKEN";
        public static final String LOGIN_URL = "/login";
        public static final String REDIS_USER_PREFIX = "fa-user:";
        public static final Integer REDIS_USER_TIME = 60 * 60 * 24 * 7;
        public static final String user = "user";
    }

    class FLoginConst {
        public static final String COOKIE_NAME = "M_TOKEN";
        public static final String LOGIN_URL = "/login";
        public static final String REDIS_USER_PREFIX = "f-user:";
        public static final Integer REDIS_USER_TIME = 60 * 60 * 24 * 7;
        public static final String user = "fuser";
    }

    class QiNiuConst{
        public static final String ACCESS_KEY = "FVSXjD1YbB0ZhjZZUvAN9_qSy2esgA-qUrVeDX3N";
        public static final String SECRET_KEY = "gsQmK8bnR289cEyCzAjWK7FLO69ogeFIp8JwaOth";
    }
    class WeChatMiNi{
        public static final String REQUEST_URL = "https://api.weixin.qq.com/sns/jscode2session";
        public static final String APPID = "wx446356a4cb906b4f";
        public static final String SECRET = "58748cbc934ef9a41beef2bd39cf9dae";
        public static final String GRANT_TYPE = "authorization_code";
        public static  String JS_CODE = "";
    }
}
